package com.young.shop.pojo.qo;



public class CartQO {

    private Long userId;
    private Long commodityId;
    private Long cartNum;

    public CartQO() {
    }

    public CartQO(Long userId, Long commodityId, Long cartNum) {
        this.userId = userId;
        this.commodityId = commodityId;
        this.cartNum = cartNum;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Long commodityId) {
        this.commodityId = commodityId;
    }

    public Long getCartNum() {
        return cartNum;
    }

    public void setCartNum(Long cartNum) {
        this.cartNum = cartNum;
    }

    @Override
    public String toString() {
        return "CartQO{" +
                "userId=" + userId +
                ", commodityId=" + commodityId +
                ", cartNum=" + cartNum +
                '}';
    }
}
